<!DOCTYPE HTML>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header">
</head>
<body class="white-bg">
	<form class="fileupload-form" enctype="multipart/form-data">
		<div class="file-loading">
			<input id="fileupload-section" name="files" type="file" multiple>
		</div>
	</form>
    <div th:include="include::footer"></div>
    <script type="text/javascript">
		var prefix = ctx + "module/edu/upload-data/"
        $("#fileupload-section").fileinput({
            language: 'zh', 	   //设置语言
			theme: "explorer-fa",//主题
			showClose: false,
            enctype: 'multipart/form-data',
            uploadUrl: prefix + "/fileupload", 		//上传地址
            allowedFileExtensions: ['xlsx', 'xls',], //支持格式
            previewFileIcon: '<i class="fa fa-file-excel-o text-success"></i>',
            browseClass: "btn btn-success clear-radius",
			uploadClass: "btn btn-primary",
            removeClass: "btn btn-danger",
			initialPreviewShowDelete: false
        });
	</script>
</body>
</html>
